The DIST function creates an array in which each array element value is proportional to its frequency. This array may be used for a variety of purposes, including frequency-domain filtering.
This routine is written in the IDL language. Its source code can be found in the file dist.pro in the lib subdirectory of the IDL distribution.
Result = DIST(N [, M])
Returns a rectangular array in which the value of each element is proportional to its frequency.
The number of columns in the resulting array.
The number of rows in the resulting array. If M is omitted, the resulting array will be N by N.
None.
; Display the results of DIST as an image:
TVSCL, DIST(100)
Original |
Introduced |